
# import time
# import pymysql
# import threading
#
# from settings import online_config as db
#
# from DBUtils.PooledDB import PooledDB, SharedDBConnection
#
# POOL = PooledDB(
#     creator=pymysql,
#     maxconnections=6,
#     mincached=2,
#     maxcached=5,
#     maxshared=3,
#     blocking=True,
#     maxusage=None,
#     setsession=[],
#     ping=2,
#     host=db.get("host"),
#     port=db.get("port"),
#     user=db.get("user"),
#     password=db.get("password"),
#     charset=db.get("charset")
# )

